package com.macro.mall.portal.util;

/**
 * @author：郎
 * @name：WeChatConstants
 * @date：2023/12/18 23:57
 */
public class WeChatConstants {

    /**
     * Redis相关Key
     */
    public static final String REDIS_KEY_ACCESS_TOKEN = "weChat:accessToken";

    public static final String BASE_WECHAT_URL = "https://api.weixin.qq.com";
    public static final String WECHAT_URL_CODE_2_SESSION = BASE_WECHAT_URL + "/sns/jscode2session";
    public static final String WECHAT_URL_GET_ACCESS_TOKEN = BASE_WECHAT_URL + "/cgi-bin/token";
    public static final String WECHAT_URL_GET_USER_PHONE_NUMBER = BASE_WECHAT_URL + "/wxa/business/getuserphonenumber";
}
